import Vue from 'vue'
import App from './App'
import "babel-polyfill"
import store from "./vuex/index"

import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
Vue.use(ViewUI);
import axios from 'axios'

// import '@babel/polyfill';

let http = axios.create({
  // baseURL:"http://192.168.1.102:8089/atm/",
  baseURL:"http://localhost:8089/atm/",
  // baseURL:"http://120.26.184.5:8089/atm/",
  timeout:4000, // 不能太小，特别是部署在数据库和项目不在同一台服务器容易连接超时
})


Vue.prototype.http = http



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  components: { App },
  template: '<App/>'
})
